home *** CD-ROM | disk | FTP | other *** search
/ Ian & Stuart's Australian Mac 1993 September / September 93.iso / Archives / Mac FAQ / Prograph CPX FAQ < prev    next >
Text File  |  1993-10-03  |  10KB  |  219 lines

  1.  
  2.           Sunday, 12 September 1993 1:11:46 PM
  3.           DevNet News Item
  4.    From:          Erik J. Gjovik,Mac-HACers
  5.    Subject:       Prograph CPX FAQ
  6.    To:            DevNet News
  7. CPX Q&A, 1.1, 7 Sep 93
  8.  
  9. Prograph CPX was introduced at the 1st Annual Prographers Conference in 
  10. Halifax, NS, Aug 25-28. The following covers some Prograph CPX Questions & 
  11. Answers. I'll post revised versions as necessary till the Q and A stabilize - 
  12. send me your Qs.
  13. -- Mark Szpakowski, TGS Systems
  14.  
  15.  
  16. What is Prograph CPX?
  17. The Prograph language in a professional development environment, tuned for 
  18. corporate application building. It supports multi-file projects with a rich 
  19. application building class library.
  20.  
  21. Version Number?
  22. 1.0
  23.  
  24. What are the key features of CPX vs 2.5?
  25. o  A project structure, supporting multiple files, which can be shared among 
  26. different projects.
  27. o  A very rich class library  (the ABCs, Application Building Classes), 
  28. comparable in functionality to TCL or MacApp.
  29. o  A set of extensible object editors (the ABEs, Application Building 
  30. Editors), for dialog-driven or click 'n drag building of menus, windows, 
  31. documents, etc. These let you build large parts of your application, including 
  32. some of their behavior, with little or no programming.
  33. o  Support for callbacks — Prograph methods can now be called by Toolbox or 
  34. other C or Pascal routines.
  35. o  Much enhanced help and info, which communicates with Think Reference™ if 
  36. you have that on your machine (i.e., click on the name of a Toolbox call, hit 
  37. the Lookup button, and CPX will launch Think Reference and locate the info on 
  38. that call!).
  39. o  Numerous interface and environmental improvements (icon and list views, 
  40. unified Cut/Copy/Paste, object deletion via the delete key, etc.).
  41. o  New tutorial manual, and extensive User Guide and class library reference.
  42.  
  43. Hardware Requirements
  44. Any Macintosh with a 68020 CPU or better, and enough RAM memory to permit a 7 
  45. megabyte partition. Prograph CPX and the ABCs/ABEs will actually load in as 
  46. little as 6 megabytes RAM, but for any serious work you should allow 7 
  47. megabytes.
  48. NOTE:  applications produced with CPX will run on any Macintosh, from the 
  49. Classic upwards. The size of the partition required will depend on the 
  50. application.
  51.  
  52. The CPX software and examples as shipped de-compress to 14 megabytes of disk 
  53. space. Allowing 20 megabytes on disk for CPX development is probably a good 
  54. idea.
  55.  
  56. Software Requirements
  57. Macintosh System 6 or System 7.
  58.  
  59. Compiled Code Size
  60. Minimum size of an application using the ABCs is 150K (in 2.5 it was 186K). 
  61. The CPX optimizing compiler strips out unused classes and methods. The size of 
  62. generated code is smaller, and grows less quickly, than it did with 2.5.
  63.  
  64. Code Speed
  65. Significant speed improvements have been made both to the CPX interpreter and 
  66. to the optimizing compiler (which builds your final stand-alone application). 
  67. Depending on the nature of your code, you will find speed increases of up to 7 
  68. times.
  69.  
  70. Printed Documentation
  71. New Tutorial, plus User Guide, ABCs Reference, Extensions Reference and 
  72. Migration Procedures.
  73.  
  74. Is Think Reference bundled with CPX?
  75. No.
  76.  
  77. Shipping Date
  78. Approximately end of September. If you order now, TGS Systems will bill or 
  79. invoice you 4 weeks prior to shipment.
  80.  
  81. Will 2.5 Extension Products work with CPX?
  82. Yes, the C Interface, Pascal Interface, Comm Toolbox, SQL Interface/DAL and  
  83. ORACLE Interface all work.  Even the Visual Effects Manager will work with a 
  84. bit of tweaking (it was designed to work with a 2.5 Canvas class, which no 
  85. longer exists in CPX). However, the examples provided on the Extensions disks 
  86. were written with 2.5 System Classes, and won't run in CPX.
  87.  
  88. Prices/Ship Dates for CPX Versions of Extension Products
  89. Not available yet.
  90.  
  91. Educational Pricing
  92. 2.5 will continue to be sold into the education market until a CPX equivalent 
  93. (i.e., smaller, less expensive version of CPX 1.0 aimed at students and people 
  94. learning the language) is available.
  95.  
  96. Is CPX more difficult to learn/use than 2.5?
  97. Remains to be seen, but probably is easier. The CPX environment is cleaner and 
  98. more intuitive that 2.5's (list as well as iconic views in most windows, 
  99. unified cut/copy/paste for text and for objects, deletion via delete key, 
  100. better navigation aids, visible flags on breakpointed operations, click-hold 
  101. on executed roots or opers to view data on them, behavior editors for 
  102. specifying how objects respond to events, etc), but on the other hand is 
  103. larger and more complex (dozens of sections, much bigger set of classes), with 
  104. a correspondingly longer learning curve. On the other side of the learning 
  105. curve is far greater ease of development.
  106.  
  107. Training
  108. CPX training is being currently being conducted at several companies, 
  109. providing a testing ground for courses that will be available starting in 
  110. October.
  111.  
  112. Third party books
  113. Dan Shafer's "The Power of Prograph" should be out by November or December.  
  114. Several other books are in planning stages.
  115.  
  116. Textbook
  117. Kevin Carver and Scott Steinman's "Introduction to Visual Object-Oriented 
  118. Programming in Prograph" is being revised for CPX, and will then be published.
  119.  
  120. User Groups
  121. Bay Area Prographers Users Group has well-attended monthly meetings (up to a 
  122. hundred people) (contact shafer@well.sf.ca.us or davec@netcom.com). A 
  123. NorthEast Area group is being formed by Michael Flickman 
  124. (flickman1@applelink.apple.com).
  125.  
  126. Newsletter
  127. Visual News, published by Visual Programming Inc (VPI), 2025 Marconi Ave., 
  128. Sacramento, CA  95821, (916) 646-4227. Internet: patrick@vpinc.com. $24 for 1 
  129. year (12 issues) Premiere issue has six pages chock full of info on CPX, 2.5 
  130. database issues, etc.
  131.  
  132. Can you directly integrate C or Pascal code into CPX?
  133. The "Not An Upgrade" letter said "Full compatibility with Think and MPW C and 
  134. Pascal libraries", leaving the impression with some people that the C and 
  135. Pascal Interface extension products are no longer necessary. This is not the 
  136. case — the C and Pascal Interfaces are necessary in order to make calls into C 
  137. and Pascal libraries.
  138.  
  139. Can I upgrade my Prograph 2.5 app to CPX?
  140. There is a source code translator that is included with the CPX package which 
  141. lets you move 2.5 code into the CPX environment (i.e., it lets CPX read 2.5 
  142. code). All your logic code written in Prograph 2.5 will work without 
  143. modification, except for some changes in a few primitives.
  144.  
  145. However, applications written with 2.5 System Classes will not run in CPX, 
  146. because CPX uses an entirely different class library (the ABCs). A $49 
  147. application framework translator, basically a System Classes "migrator", will 
  148. be available by October. It will include a set of 2.5 Compatibility Classes 
  149. which run inside the CPX environment, and a utility to morph your 2.5 System 
  150. Classes into these new CPX classes. Thus this “2.5-CPX Morph” class system 
  151. will let you run your 2.5  System Classes apps with in CPX. 
  152.  
  153. However, although the 2.5 Compatibility Classes are written using the ABCs, 
  154. they are their own, class system, serving as an alternative to the ABCs. The 
  155. application framework translator is not a "2.5-ABC Morph", a hypothetical 
  156. beast which would turn your System Classes apps into ABCs apps. 2.5-CPX Morph 
  157. will let you run your 2.5 apps in the CPX environment, but that is different 
  158. from saying that it will make them fully compatible with the CPX ABCs.
  159.  
  160. Will source for ABCs be provided?
  161. Not decided yet.  Most likely scenario is yes.
  162.  
  163. Source for Object Editors?
  164. Not decided yet. Most likely scenario is no, except for a few sample editors.
  165.  
  166. Database Engine
  167. Unchanged except for bug fixes and inclusion of debug code.
  168.  
  169. Database Strategy
  170. A key goal is to provide the high-level database tools (data-aware windows, 
  171. visual SQL code generator, report generator, etc) to fully enable database 
  172. development in CPX. TGS Systems is investigating server partners to be 
  173. part of a complete Client/Server solution, and also possibly to
  174. replace the current Datafile Engine as a local database (where the server runs on the 
  175. same machine as the client). Support for DAM/DAL is being strengthened, and 
  176. Sybase will be added as a direct API.
  177.  
  178. Apple Events and AppleScript
  179. High-level support for the core Apple Events, and low-level support for Apple 
  180. Events in general, are part of CPX and ABCs 1.0. By February 1994 we will 
  181. provide full high-level support, in the synchro-mesh fashion you're growing 
  182. accustomed to, for making your applications Scriptable, Recordable and 
  183. Attachable.
  184.  
  185. Interrupt-driven Callback routines?
  186. No — you can't have those if memory will be moved, which it very well might be 
  187. inside your Prograph method.
  188.  
  189. How do the ABCs compare with TCL or MacApp?
  190. According to Kurt Schmucker, who did a presentation on the topic at the 
  191. Prographers Conference in late August, comparable in extent and functionality 
  192. to TCL or MacApp. The object editors have no equivalent in TCL or MacApp; they 
  193. extend your functionality to a different dimension, letting you lay out both 
  194. appearances and behaviors on a high level.
  195.  
  196. What's a "Behavior Editor"?
  197. A high level, dialog driven editor that lets you take a selected object (such 
  198. as a button) and describe what happens when an event (usually a click on it) 
  199. occurs. Most often the behavior includes a focus object (such as a scrolling 
  200. list in the same window), a method belonging to that object (e.g., /Attach R), 
  201. and, and "input specifiers" that let you pick the relevant objects that will 
  202. be inputs to the method (e.g., the scrolling list and the value of an edit 
  203. text box in the window). This is the familiar "Folks Database" example. Thus 
  204. with the Behavior Editor you can tell the button to respond to a click by 
  205. using the Scrolling List's /Attach R method, and that method should get 
  206. as inputs the Scrolling List itself and the text entered into the Edit Text 
  207. field, with the result that the text gets appended as the last item in the 
  208. scrolling list. In effect you've defined how some things will happen without 
  209. actually even coding in Prograph. 
  210.  
  211. Moving apps written with ABCs to Windows?
  212. If you use the ABCs, and don't make Mac-specific calls, you'll be portable 
  213. with minimum effort. TGS Systems is currently porting Prograph CPX to Windows 
  214. (NT and WIN32s), PowerPC (native-mode under System 7), and Unix (X-Windows and 
  215. Motif), in order to support cross-platform application development and  
  216. generation.
  217.  
  218.  
  219.